<?php
   session_start();
   
   
  if(!isset($_SESSION['username']) || empty($_SESSION['username']))
  {
     echo "<script>parent.location.href='".URL_PATH."index.php';</script>";
  }
?>